package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 积分明细查询对象 t_detailed
 * 
 * @author 秦永昆
 * @date 2023-02-12
 */
public class SysDetailed extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细表id */
    private Long detailedId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 操作 */
    @Excel(name = "操作")
    private String changeReason;

    /** 积分值 */
    @Excel(name = "积分值")
    private Integer changeValue;

    public void setDetailedId(Long detailedId) 
    {
        this.detailedId = detailedId;
    }

    public Long getDetailedId() 
    {
        return detailedId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setChangeReason(String changeReason) 
    {
        this.changeReason = changeReason;
    }

    public String getChangeReason() 
    {
        return changeReason;
    }
    public void setChangeValue(Integer changeValue)
    {
        this.changeValue = changeValue;
    }

    public Integer getChangeValue()
    {
        return changeValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailedId", getDetailedId())
            .append("userName", getUserName())
            .append("phonenumber", getPhonenumber())
            .append("changeReason", getChangeReason())
            .append("changeValue", getChangeValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
